body{
    margin: 0;
    padding: 0;
    font-size:18px;
}
.chat-all{
    width: 94%;
    margin:0 auto;
    height: 70px;
}
.chat-all .chat-user-param{
    height: 50px;
    margin: 10px 0;
    padding-bottom: 10px;
    border-bottom:1px solid gainsboro;
}
.chat-all .left{
    width: 50px;
    height: 50px;
    float: left;
}
.chat-all .left img{
    width: 50px;
    height: 50px;
    border-radius: 10px;
}
.chat-all .middle{
    float: left;
    width: 150px;
    height: 50px;
    line-height: 50px;
    padding-left: 10px;
}
.chat-all .right{
    float: right;
}
.chat-all .right div{
    height: 25px;
    line-height: 25px;
    font-size: 16px;
    text-align: right;
}

/*聊天内容区 start*/
.chat-user-part{
    width: 100%;
}
.chat-one {
    padding: 5px;
}
.chat-user-part .chat-content{
    max-width: 200px;
}
/* bubble style */
.chat-left{
    clear:both;
}
.chat-left div:nth-of-type(1){
    float: left;
}
.chat-left div:nth-of-type(2){
    background-color: aquamarine;
    float: left;
    margin: 0 20px 17px 15px;
    padding: 10px  15px 10px 5px;
    border-radius:7px;
}

.chat-right .chat-headpic img,
.chat-left .chat-headpic img{
    width:50px;
    height: 50px;
    border-radius: 10px;
}

.chat-right{
    clear:both;
}
.chat-right div:nth-child(1){
    float: right;
}
.chat-right div:nth-of-type(2){
    float:right;
    background-color: gold;
    margin: 0 15px 18px 20px;
    padding: 10px 5px 10px 15px;
    border-radius:7px;
}

.left-triangle{
    height:0;
    width:0;
    border-width:8px;
    border-style:solid;
    border-color:transparent aquamarine transparent transparent;
    position: relative;
    left:-20px;
    top:3px;
}

.right-triangle{
    height:0;
    width:0;
    border-width:8px;
    border-style:solid;
    border-color:transparent transparent transparent gold;
    position: relative;
    right:-20px;
    top:3px;
}
.chat-user-part .chat-one:last-child div:nth-of-type(2){
    margin-bottom: 80px;
}
.chat-user-part .content-detail img{
    width: 100px;
}

/*文本输入区 start*/
.chat-input{
    position: absolute;
    bottom: 0;
    width: 100%;
    background: #ffffff;
}
.chat-input .line{
    display: flex;
    margin-bottom: 10px;
}
.chat-input textarea{
    height: 40px;
    font-size: 18px;
    padding: 5px;
    width: 100%;
}
.chat-input .btn{
    height: 52px;
    width:100px;
    font-size: 30px;
    color: #e45612;
    background: gainsboro;
    border: none;
    border-radius: 5px;
}
/*文本输入区 end*/
/*聊天内容区 end*/

/*弹出内容区 start*/
/*隐藏的盒子*/
.bottom-cont {
    width: 100%;
    height: 550px;
    background: #ffffff;
    transition: all .3s;
    margin-bottom: -550px;
    position: fixed;
    bottom: 0;
    z-index: 111;
}
.bottom-cont #box{
    height: 100%;
    position: relative;
}

.bottom-cont.cont-mini {
    margin-bottom:0;
}
.cont-else{
    width: 100%;
    height:100%;
    position:fixed;
    top:0;
    background: grey;
    opacity:0.3;
    z-index: 99;
    display: none;
}
/*弹出内容区 end*/

/*局部纵向滚动*/
#box{
    width: 100%;
    height: 80%;
    overflow:hidden;
}
.chat-user-part{
    overflow-x: hidden;
    overflow-y: auto;
    color: #000;
    height: 100%;
    padding-top: 10px;
}
.chat-user-part::-webkit-scrollbar {
    width: 4px;
    /*height: 4px;*/
}
.chat-user-part::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.2);
}
.chat-user-part::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 0;
    background: rgba(0,0,0,0.1);
}
